Skip to content

EventPatternSourceBase.Remove(Delegate) method

Defined in

Type: EventPatternSourceBase Namespace: System.Reactive Assembly: System.Reactive.dll

Applies to

netstandard2.0

protected void Remove(Delegate handler)

Summary: Removes the specified event handler, causing a disposal of the corresponding subscription to the underlying source that was created during the Add operation.

Parameters

NameTypeDescription
handlerDelegateEvent handler to remove. This should be the same delegate as one that was passed to the [Add](# operation.

Exceptions

TypeCondition
System.ArgumentNullExceptionhandler is null.